Skip to content

Testing#414

Merged
Rei-x merged 20 commits into
nextfrom
testing
Jul 6, 2025
Merged

Testing#414
Rei-x merged 20 commits into
nextfrom
testing

Conversation

@Rei-x

@Rei-x Rei-x commented Jul 5, 2025

Copy link
Copy Markdown
Member

Important

This pull request adds comprehensive testing for @solvro/config using vitest, enhances the CLI for non-interactive use, and updates ESLint and Prettier configurations.

  • Testing:
    • Adds integration-tests.yml for GitHub Actions to run integration tests on PRs and pushes to main.
    • Introduces vitest for testing with configurations in vitest.config.ts.
    • Adds TestEnvironment class in tests/utils/test-environment.ts for setting up test environments.
    • Implements tests in tests/integration.test.ts, tests/error-conditions.test.ts, and tests/cross-version.test.ts.
  • CLI Enhancements:
    • Updates src/cli/index.ts to support non-interactive mode and CLI options for installing tools.
    • Adds polishConfirm and runIfInteractive utilities for handling interactive prompts.
  • Configuration:
    • Updates ESLint configurations in src/eslint/configs and presets in src/eslint/presets.
    • Modifies package.json to include new scripts and dependencies for testing and configuration.
    • Updates .node-version to 22.x and modifies README.md to reflect new testing capabilities.

This description was created by Ellipsis for 9f2807b. You can customize this summary. It will automatically update as commits are pushed.

@Rei-x
Rei-x changed the base branch from main to next July 5, 2025 12:37
@Rei-x
Rei-x marked this pull request as ready for review July 6, 2025 20:16
@Rei-x
Rei-x merged commit fdec1e3 into next Jul 6, 2025
7 checks passed
@Rei-x
Rei-x deleted the testing branch July 6, 2025 20:18
Comment thread src/utils/git-root.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant